#import <UIKit/UIKit.h>
#import "Tag.h"

@interface LocalModel : NSObject

@property (nonatomic, assign) NSInteger attachment;
//  发帖人
@property (nonatomic, strong) NSString * author;
@property (nonatomic, assign) NSInteger avatarstatus;
//  发帖时间
@property (nonatomic, strong) NSString * date;
@property (nonatomic, assign) NSInteger dateline;
//  板块ID
@property (nonatomic, assign) NSInteger fid;
@property (nonatomic, assign) NSInteger fromType;
//  发帖者头像
@property (nonatomic, strong) NSString * headimg;
//  发帖人等级
@property (nonatomic, assign) NSInteger level;
//  帖子内容
@property (nonatomic, strong) NSString * message;
//  是否新人贴 1新人贴 0不是
@property (nonatomic, assign) NSInteger newField;
//  帖子图片
@property (nonatomic, strong) NSArray * pic;
@property (nonatomic, assign) NSInteger pid;
//  评论帖子用户数组
@property (nonatomic, strong) NSArray * pllist;
//  帖子标题
@property (nonatomic, strong) NSString * subject;
@property (nonatomic, strong) NSArray * tag;
@property (nonatomic, strong) NSString * tags;
@property (nonatomic, strong) NSArray * thumb;
//  帖子ID
@property (nonatomic, assign) NSInteger tid;
//  发帖人ID
@property (nonatomic, assign) NSInteger uid;
//  阅读数
@property (nonatomic, assign) NSInteger views;
//  点赞帖子用户数组
@property (nonatomic, strong) NSArray * zanlist;

-(instancetype)initWithDictionary:(NSDictionary *)dictionary;

-(NSDictionary *)toDictionary;
@end
